<?php
/**
 * Created by PhpStorm.
 * User: 氓羽
 * Date: 2018-5-1
 * Time: 15:46
 */
    function smarty_function_test($params){
        $width = $params['width'];
        $height = $params['height'];

        $area = $width * $height;
        return $area;
    }